package com.itheima.pojo;

import java.io.Serializable;

/**
 * @author aili
 * @create 2020-05-16 12:54
 */
public class Address implements Serializable {


    private int id;
    //名称
    private String name;
    //经度
    private String lon;
    //纬度
    private String lat;
    //详细地址
    private String address;

    public Address() {
    }

    public Address(int id, String name, String lon, String lat, String address) {
        this.id = id;
        this.name = name;
        this.lon = lon;
        this.lat = lat;
        this.address = address;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", lon='" + lon + '\'' +
                ", lat='" + lat + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
